package cn.edu.wfit.modules.learn.mapper.competitionmanagement;

import cn.edu.wfit.modules.learn.domain.WfitCompetitionTeamrecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 团队赛记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
@Mapper
public interface WfitCompetitionTeamrecordMapper
{
    /**
     * 查询团队赛记录
     * 
     * @param id 团队赛记录主键
     * @return 团队赛记录
     */
    public WfitCompetitionTeamrecord selectWfitCompetitionTeamrecordById(Long id);

    /**
     * 查询团队赛记录列表
     * 
     * @param wfitCompetitionTeamrecord 团队赛记录
     * @return 团队赛记录集合
     */
    public List<WfitCompetitionTeamrecord> selectWfitCompetitionTeamrecordList(WfitCompetitionTeamrecord wfitCompetitionTeamrecord);

    /**
     * 新增团队赛记录
     * 
     * @param wfitCompetitionTeamrecord 团队赛记录
     * @return 结果
     */
    public int insertWfitCompetitionTeamrecord(WfitCompetitionTeamrecord wfitCompetitionTeamrecord);

    /**
     * 修改团队赛记录
     * 
     * @param wfitCompetitionTeamrecord 团队赛记录
     * @return 结果
     */
    public int updateWfitCompetitionTeamrecord(WfitCompetitionTeamrecord wfitCompetitionTeamrecord);

    /**
     * 删除团队赛记录
     * 
     * @param id 团队赛记录主键
     * @return 结果
     */
    public int deleteWfitCompetitionTeamrecordById(Long id);

    /**
     * 批量删除团队赛记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWfitCompetitionTeamrecordByIds(Long[] ids);
}
